<!DOCTYPE html>
<!--[if IE 8]>
<html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]>
<html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
    <meta charset="UTF-8">
    <title>用户管理</title>
    [#include "../../../include/header.ftl" /]
    <link href="${ctx}/static/js/chosen/bootstrap-chosen.css" rel="stylesheet">
    <link href="${ctx}/static/css/layout-default.css" rel="stylesheet">
    <link href="${ctx}/static/apls/assets/plugins/select2/css/select2.min.css"  rel="stylesheet">
    <link href="${ctx}/static/apls/assets/plugins/select2/css/select2-bootstrap.min.css"  rel="stylesheet">
    <script type="text/javascript" src="${ctx}/static/js/jquery/layout/jquery-ui-1.11.0.js"></script>
    <script type="text/javascript" src="${ctx}/static/js/jquery/layout/jquery.layout.js"></script>
    <script type="text/javascript" src="${ctx}/static/apls/assets/plugins/jquery-validation/jquery.validate.min.js"></script>
    <script type="text/javascript" src="${ctx}/static/apls/assets/plugins/jquery-validation/localization/messages_zh.min.js"></script>
    <script type="text/javascript" src="${ctx}/static/apls/assets/plugins/jquery-validation/validateEx.js"></script>
    <script type="text/javascript" src="${ctx}/static/js/chosen/chosen.jquery.min.js"></script>
    <style type="text/css">
        .ui-layout-resizer {
            background: #ffffff;
        }
.lly{
    z-index: 9999999999999999;
}
        .ui-layout-resizer:hover {
            background: #DDD;
        }

        .panel-body {
            padding: 0px 15px;
        }
    </style>
</head>
<body>
<div class="ui-layout-north" id="divsearch" style="padding:2px 10px">
    <form method="post" id="form_search" class="form-horizontal">
        <div class="col-sm-12">
            <div class="row">
                <div class="col-sm-3">
                    <div class="form-group margin-bottom-0">
                        <label for="s_name" class="full-left control-label" style="width: 80px">用户名：</label>
                        <div class="full-left">
                            <input class="form-control" type="text" name="s_name" id="s_name"/>
                        </div>
                    </div>
                </div>
                <div class="col-sm-3">
                    <button type="submit" id="but" class="btn btn-primary">
                        <i class="fa fa-search"></i> 查询
                    </button>
                </div>
            </div>
        </div>
    </form>
</div>
<div class="ui-layout-center" style="padding:2px 10px">
    <div class="col-md-12 col-sm-12">
        <div class="row">
            <div class="margin-bottom-0">
                <div class="panel-body">
                    <table class="table" id="table1" data-show-footer="false" data-row-style="rowStyleFormatter"
                           data-pagination="true" data-side-pagination="server">
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="useropt" style="display: none;margin-top: 20px">
    <div class="col-md-12 col-sm-12">
        <div class="form-body">
            <form role="form" class="form-horizontal" id="form_opt">
                <div class="row">
                    <div class="col-md-6 col-sm-6">
                        <div class="form-group">
                            <label class="col-md-4 control-label">用户名</label>
                            <div class="col-md-8">
                                <div class="input-icon right">
                                    <input type="text" id="username" name="username" class="form-control" placeholder="">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6 col-sm-6">
                        <div class="form-group">
                            <label class="col-md-4 control-label">姓名</label>
                            <div class="col-md-8">
                                <div class="input-icon right">
                                    <input type="text" id="name" name="name" class="form-control" placeholder="">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-6 col-sm-6">
                        <div class="form-group">
                            <label class="col-md-4 control-label">密码</label>
                            <div class="col-md-8">
                                <div class="input-icon right">
                                    <input type="password" name="password" id="password" class="form-control" placeholder="">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6 col-sm-6">
                        <div class="form-group">
                            <label class="col-md-4 control-label">确认密码</label>
                            <div class="col-md-8">
                                <div class="input-icon right">
                                    <input type="password" name="password2" id="password2" class="form-control" placeholder="">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-6 col-sm-6">
                        <div class="form-group">
                            <label class="col-md-4 control-label">邮箱</label>
                            <div class="col-md-8">
                                <div class="input-icon right">
                                    <input type="text" name="email" id="email" class="form-control" placeholder="">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6 col-sm-6">
                        <div class="form-group">
                            <label class="col-md-4 control-label">电话</label>
                            <div class="col-md-8">
                                <div class="input-icon right">
                                    <input type="text" id="mobile" name="mobile" class="form-control" placeholder="">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-6 col-sm-6">
                        <div class="form-group">
                            <label class="col-md-4 control-label">状态</label>
                            <div class="col-md-8">
                                <div class="input-icon right">
                                    <select id="status" name="status" class="bs-select">
                                        <option value="1">启用</option>
                                        <option value="0">未启用</option>
                                        <option value="3">注销</option>
                                        <option value="2">锁定</option>
                                    </select>
                                    <input type="hidden" id="userId" name="userId">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6 col-sm-6">
                        <div class="form-group">
                            <label class="col-md-4 control-label">角色</label>
                            <div class="col-md-8">
                                <div class="input-icon right">
                                    <select class="form-control select2-multiple" style="width: 100%" multiple id="roleids" name="roleids"  placeholder="">

                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<div id="table1Toolbar">
    <div class="grid-btn">
        <a class="btn btn-primary" id="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
        <a style="display: none" class="btn btn-primary" id="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
        <a style="display: none" class="btn btn-primary" id="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
    </div>
</div>
<script type="text/javascript" src="${ctx}/static/apls/assets/plugins/select2/js/select2.full.min.js"></script>
<script type="text/javascript" src="${ctx}/static/apls/assets/plugins/select2/js/i18n/zh-CN.js"></script>
<script type="text/javascript" src="${ctx}/static/js/adx/sys/user.js?v=0.6"></script>
</body>
</html>